<?
phpinfo();die;
require '../home/config.php';
echo date("d/m/Y", strtotime("11-12-2014"));die;
$arr = array('service'=>'1895tv','continue'=>'http://1895.tv/SudoOauth.php');
$arr =json_encode($arr);
echo $arr;
echo '<br />';
$arr = base64_encode($arr);
echo $arr;
dump(json_decode(base64_decode($arr),1));
die;

?>
<html>
<head>
<title>Test</title>
</head>
<body>
<form action="http://localhost:5009/test/index.php" method="POST">
   <input type="text" name="name" value="" />
   <input type="submit" name="submit" />
   https://id.vatgia.com/dang-nhap/oauth?_cont='.$base_url2.'/home_v2/idvg_return.php&client_id=hochay&service=hochay&ui_mode=popup
</form>
</body>
</html>